
import request from "@/service/axios/index";




const custListApi = {
    /**@description 查询列表 */
    getList: (data) => {
        return request.post({ url: '/custManager/custList/list', data })
    },

    /**@description 删除 */
    delete: (id) => {
        return request.delete({ url: '/custManager/custList/delete?id=' + id })
    },

    /**@description 获取详情 */
    getDetail: (id) => {
        return request.get({ url: '/custManager/custList/get?id=' + id })
    },
    // 新增
    create: (data) => {
        return request.post({ url: '/custManager/custList/create', data })
    },
}

export default custListApi;